package com.sparrow.example_message.backpack.vo;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "道具vo")
public class ItemVo {
    @Protobuf(description = "desc")
    private long id;
    @Protobuf(description = "索引")
    private int index;
    @Protobuf(description = "配置id")
    private int modelId;
    @Protobuf(description = "数量")
    private int num;

    public void setIndex(int index) {
        this.index = index;
    }

    public int getIndex() {
        return index;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getModelId() {
        return modelId;
    }

    public void setModelId(int modelId) {
        this.modelId = modelId;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }


}
